﻿using System;
using HigLabo.Net.Extensions;

namespace HigLabo.Net.Twitter
{
    /// <summary>
    /// 
    /// </summary>
    public class Attributes : ResponseObject
    {
        /// <summary>
        /// 
        /// </summary>
        public String ID { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public String StreetAddress { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public String Twitter { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public Attributes(String jsonText)
        {
            var d = this.SetData(jsonText);

            this.ID = d.ToString("id");
            this.StreetAddress = d.ToString("street_address");
            this.Twitter = d.ToString("twitter");
        }

    }
}
